<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="com.google.appengine.api.users.User"%>
<%@ page import="com.google.appengine.api.users.UserService"%>
<%@ page import="com.google.appengine.api.users.UserServiceFactory"%>
<%@ page import="org.teammach.laddercomp.dao.LadderManager"%>
<%@ page import="org.teammach.laddercomp.shared.Ladder"%>
<%@ page import="com.google.appengine.api.datastore.Entity"%>

<%@ page import="java.util.List"%>

<html>
<body>

<%
	LadderManager manager = LadderManager.INSTANCE;
%>


<p> Clearing all teams... </p>

<% 
   manager.clearAll();
   manager.addAll();
   manager.updateOfficial();
   manager.updateOfficial2();
   manager.addLaddersFromCSV("WEB-INF/laddersCSV.csv");
   manager.updateScores();
  
   response.sendRedirect("standings.jsp");
   
%>



</body>
</html>